package birs.model.expanditure;

import java.math.BigDecimal;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity
public class XPD002ModelA {
	
	@Column(name="BUDGETPERIODID")
	private int budgetPeriodId;
	@Column(name="BUDGETGROUPID")
	private int budgetGroupId;
	@Column(name="BUDGETGROUPNAME")
	private String name = " ";
	@Column(name="AMOUNT")
	private BigDecimal amount;
	
	private List<XPD002ModelB> children;
	
	public int getBudgetPeriodId() {
		return budgetPeriodId;
	}
	public void setBudgetPeriodId(int budgetPeriodId) {
		this.budgetPeriodId = budgetPeriodId;
	}
	public int getBudgetGroupId() {
		return budgetGroupId;
	}
	public void setBudgetGroupId(int budgetGroupId) {
		this.budgetGroupId = budgetGroupId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public BigDecimal getAmount() {
		return amount;
	}
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
	public List<XPD002ModelB> getChildren() {
		return children;
	}
	public void setChildren(List<XPD002ModelB> childs) {
		this.children = childs;
	}
}